package com.pureut.storage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pureut.storage.domain.IncomingMaterialSubcontractPrinting;
import com.pureut.storage.dto.IncomingMaterialSubcontractPrintingDto;
import com.pureut.storage.vo.IncomingMaterialSubcontractPrintingVo;
import com.pureut.storage.vo.OneKeyWarehousingVo;
import com.sale.system.api.domain.vo.SysReturnStatusVo;

import java.util.List;

/***
 * 委外入库service
 * Author:C
 * Date:2022/12/28 11:15
 * @DESC
 */
public interface IncomingMaterialSubcontractPrintingService extends IService<IncomingMaterialSubcontractPrinting> {

    /**
     * 委外打印列表
     */
    List<IncomingMaterialSubcontractPrintingDto> getSubcontractPrintList(IncomingMaterialSubcontractPrintingVo incomingMaterialSubcontractPrintingVo);

    /**
     * 委外打印详情
     */
    IncomingMaterialSubcontractPrintingDto getSubcontractPrintView(long id);

    /**
     * 一键入库
     */
    boolean oneKeyWarehousing(OneKeyWarehousingVo oneKeyWarehousingVo);

    /**
     * 根据唯一标识修改状态(feign调用)
     */
    boolean getDataByOnlyMarkSub(SysReturnStatusVo sysReturnStatusVo);
}
